package com.thread.aqs;

/**
 * @author wangyingjie
 * @date
 * @remark
 */
class Test {

    public static void main(String[] args) {
        System.out.println(test());
    }

    public static String test() {
        try {
            System.out.println("try block");
            return test1();
        } finally {
            System.out.println("finally11111");
            // return "finally";
        }
    }

    public static String test1() {
        try {
            System.out.println("return statement");
        }finally {
            System.out.println("finall2222");
        }
        return "after return";
    }

}
